The expression can be simplified using one of the functions isEmpty, isNotEmpty or isNullOrEmpty.
What is the potential impact?
Readability and Understanding
This change makes the code more concise and easier to understand. The additional comparison operator would increase the complexity of the
expression while not offering any benefit. The function names isEmpty, isNotEmpty and isNullOrEmpty are
descriptive on the other hand, so it is evident to readers what the purpose of the expression is.